package com.ruoyi.loop.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 轮播图管理对象 loop_advertisement
 * 
 * @author atzcx
 * @date 2024-04-15
 */
public class LoopAdvertisement extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Integer id;

    /** 广告名称 */
    @Excel(name = "广告名称")
    private String loopAdvertiseName;

    /** 轮播图地址 */
    @Excel(name = "轮播图地址")
    private String loopAdvertiseUrl;

    /** 所属学校 */
    @Excel(name = "所属学校")
    private String loopUniversity;

    /** 公共轮播图 */
    @Excel(name = "公共轮播图")
    private String commonLoop;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setLoopAdvertiseName(String loopAdvertiseName) 
    {
        this.loopAdvertiseName = loopAdvertiseName;
    }

    public String getLoopAdvertiseName() 
    {
        return loopAdvertiseName;
    }
    public void setLoopAdvertiseUrl(String loopAdvertiseUrl) 
    {
        this.loopAdvertiseUrl = loopAdvertiseUrl;
    }

    public String getLoopAdvertiseUrl() 
    {
        return loopAdvertiseUrl;
    }
    public void setLoopUniversity(String loopUniversity) 
    {
        this.loopUniversity = loopUniversity;
    }

    public String getLoopUniversity() 
    {
        return loopUniversity;
    }
    public void setCommonLoop(String commonLoop) 
    {
        this.commonLoop = commonLoop;
    }

    public String getCommonLoop() 
    {
        return commonLoop;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("loopAdvertiseName", getLoopAdvertiseName())
            .append("loopAdvertiseUrl", getLoopAdvertiseUrl())
            .append("loopUniversity", getLoopUniversity())
            .append("commonLoop", getCommonLoop())
            .toString();
    }
}
